package com.roc.steelend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roc.steelend.pojo.WriteOffBuyDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.util.HashMap;
import java.util.List;

@Repository
public interface WriteOffBuyDetailMapper extends BaseMapper<WriteOffBuyDetail> {

    List<HashMap<String,Object>> buyDetailByPay(@Param("buyOrderId") BigInteger buyOrderId);
}
